package com.heo.music.player.util;

/**
 * created on 2024-05-11 13:55
 *
 * @author 星天无极
 **/
public class FileUtils {

    public static String getSuffixName(String path) {
        int index = path.lastIndexOf(".");
        if (index > 0) {
            return path.substring(index);
        } else {
            return null;
        }
    }


}
